]> dgit.raspbian.org Git - gnome-shell.git/commit
background: Fix a bug with empty animations
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 14 Mar 2013 21:06:17 +0000 (17:06 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 14 Mar 2013 21:48:07 +0000 (17:48 -0400)
commit8edd7ad32e83698ac5703851947eecffd5b14c2d
treeddffb80e0eb6afcb6ffbf16a4fbf4c0f4f5a84d0
parent3a27d0b8496534d4975fec645a965bc702edc9cf
background: Fix a bug with empty animations

Arrays always evaluate to true, even empty arrays,
so we need to check the length to make sure we have
no files.

https://bugzilla.gnome.org/show_bug.cgi?id=695882
js/ui/background.js